package com.ai.bitcoin.vo;

import com.ai.bitcoin.jpa.entity.Bcc24HourVolume;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

@Data
public class BccPageVo implements Serializable {
    private static final long serialVersionUID = -1L;
    //当前价格
    private String currentPrice;
    //价格变化值
    private String priceChangedValue;
    //价格涨幅
    private String priceChangePercent;
    //24小时内最高价格
    private String highest24h;
    //24小时内最低价格
    private String lowest24h;
    //24小时总交易额
    private String tradeTotalVolume;
    //总发行量
    private String issuedTotalVolume;
    //流通市值
    private String marketValue;
    //市值排名
    private int marketValueRanking;
    //白皮书地址 官网地址 源码地址 钱包地址
    private String whitePaperUrl;
    private String officialSiteUrl;
    private String openSourceRepo;
    private String walletSiteUrl;
    //发行时间
    private String onlineTime;
    //流通量
    private String availableVolume;
    //发行价格
    //核心算法
    //激励机制

    //描述
    private String description;

    //点个数
    private int pointCount;

    //实际价格
    private Set<PricePointVo> priceData = Sets.newLinkedHashSet();
    //预测价格
    private Set<PricePointVo> predictionData = Sets.newLinkedHashSet();
    //MA
    private Set<PricePointVo> ma5Data = Sets.newLinkedHashSet();

    private Set<PricePointVo> ma10Data = Sets.newLinkedHashSet();

    private Set<PricePointVo> ma20Data = Sets.newLinkedHashSet();

    private Set<PricePointVo> ma30Data = Sets.newLinkedHashSet();

    //重要交易点
    private Set<TradePointVO> tradePointData = Sets.newLinkedHashSet();

    //波段建议
    private RecommendTradePointVO recommend = new RecommendTradePointVO();

    //24交易信息
    List<Bcc24HourVolume> volumeData = Lists.newArrayList();
}
